package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.circle.request.ResourceCircleRequest;
import com.fram.bean.admin.circle.response.ResourceCircleResponse;
import com.fram.bean.api.circle.request.CircleSeachRequest;
import com.fram.bean.api.circle.response.CircleSeachResponse;
import com.fram.entity.ResourceCircle;

public interface ResourceCircleMapper {

	int deleteByPrimaryKey(Long id);

	int insert(ResourceCircle record);

	int insertSelective(ResourceCircle record);

	ResourceCircle selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(ResourceCircle record);

	int updateByPrimaryKey(ResourceCircle record);

	/** 根据地区 展示 最 点击率最高 展示 **/
	List<CircleSeachResponse> selectByCode(CircleSeachRequest request);

	/** 后台列表 连表查询 **/
	List<ResourceCircleResponse> selectAafterList(ResourceCircleRequest request);
}